|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
AbstractExtensibilityElement.java | - | 33.3% | 20% | 27.3% |
|
1 |
/*
|
|
2 |
* $Id: AbstractExtensibilityElement.java,v 1.1 2004/12/15 14:18:18 patforna Exp $
|
|
3 |
*
|
|
4 |
* Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
|
|
5 |
* Berne University of Applied Sciences
|
|
6 |
* School of Engineering and Information Technology
|
|
7 |
* All rights reserved.
|
|
8 |
*/
|
|
9 |
package bexee.wsdl.extensions.partnerlinktype.impl;
|
|
10 |
|
|
11 |
import javax.wsdl.extensions.ExtensibilityElement;
|
|
12 |
import javax.xml.namespace.QName;
|
|
13 |
|
|
14 |
/**
|
|
15 |
* A superclass to be used by all WSDL extensibility elements.
|
|
16 |
*
|
|
17 |
* @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:18 $
|
|
18 |
* @author Patric Fornasier
|
|
19 |
* @author Pawel Kowalski
|
|
20 |
*/
|
|
21 |
public class AbstractExtensibilityElement implements ExtensibilityElement { |
|
22 |
|
|
23 |
private QName elementType;
|
|
24 |
|
|
25 |
private Boolean required;
|
|
26 |
|
|
27 |
/**
|
|
28 |
* Create an AbstractExtensibilityElement.
|
|
29 |
*/
|
|
30 | 16 |
public AbstractExtensibilityElement(QName elementQType, Boolean required) {
|
31 | 16 |
this.elementType = elementQType;
|
32 | 16 |
this.required = required;
|
33 |
} |
|
34 |
|
|
35 |
/**
|
|
36 |
* @return Returns the COMPLEX_TYPE.
|
|
37 |
*/
|
|
38 | 0 |
public QName getElementType() {
|
39 | 0 |
return elementType;
|
40 |
} |
|
41 |
|
|
42 |
/**
|
|
43 |
* @param COMPLEX_TYPE
|
|
44 |
* The COMPLEX_TYPE to set.
|
|
45 |
*/
|
|
46 | 0 |
public void setElementType(QName elementType) { |
47 | 0 |
this.elementType = elementType;
|
48 |
} |
|
49 |
|
|
50 |
/**
|
|
51 |
* @return Returns the required.
|
|
52 |
*/
|
|
53 | 0 |
public Boolean getRequired() {
|
54 | 0 |
return required;
|
55 |
} |
|
56 |
|
|
57 |
/**
|
|
58 |
* @param required
|
|
59 |
* The required to set.
|
|
60 |
*/
|
|
61 | 0 |
public void setRequired(Boolean required) { |
62 | 0 |
this.required = required;
|
63 |
} |
|
64 |
} |
|